#include <xpo/net/TcpSocket.h>
#include <xp/bas/stdio.h>

int xp_main ()
{
	XpTcpSocket* sp;

	sp = [XpTcpSocket open: XP_TCP_BINARY];
	if (sp == nil) {
		xp_fprintf (xp_stderr, XP_TEXT("cannot open socket\n"));
		return -1;
	}

	[sp close];
	return 0;
}
